<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"
           uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<rapid:override name="head">
	<title>选课</title>
</rapid:override>
<rapid:override name="content">
	<%
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    %>
	<div>
		<table class="layui-table" style="width:430px; margin:25px 500px 25px;">
			<colgroup>
				<col width="100">
				<col width="180">
			</colgroup>
			<form action="Studentinfocontroller/AddCoursess" method="post">
				<tbody>
					<tr>
						<td>姓名</td>
						<td>${c.name }</td>
					</tr>
					<tr>
						<td>学号</td>
						<td>${c.sid}</td>
					</tr>
					<tr>
						<td rowspan="3">必选课</td>
						<td><label for="Chinese"><input type="checkbox" name="Coursess" id="Chinese" value="语文" checked="checked" />语文</td></label>
					</tr>
					<tr>
						<td><label for="Mathematics"><input type="checkbox" name="Coursess" id="Mathematics" value="数学" checked="checked" />数学</label></td>
					</tr>
					<tr>
						<td><label for="English"><input type="checkbox" name="Coursess" id="English" value="外语" checked="checked" />外语</label></td>
					</tr>
					<tr>
						<td rowspan="2">二选一</td>
						<td><label for="Physics"><input type="checkbox" name="Coursess" id="Physics" value="物理" onclick='check(this)' />物理</label></td>
					</tr>
					<tr>
						<td><label for="History"><input type="checkbox" name="Coursess" id="History" value="历史" onclick='check(this)' />历史</label></td>
					</tr>
					<tr>
						<td rowspan="4">四选二</td>
						<td><label for="Biology"><input type="checkbox" name="Coursess" id="Biology" value="生物" onclick='check1(this)' />生物</label></td>
					</tr>
					<tr>
						<td><label for="Geography"><input type="checkbox" name="Coursess" id="Geography" value="地理" onclick='check1(this)' />地理</label></td>
					</tr>
					<tr>

						<td><label for="Chemistry"><input type="checkbox" name="Coursess" id="Chemistry" value="化学" onclick='check1(this)' />化学</label></td>
					</tr>
					<tr>

						<td><label for="Politics"><input type="checkbox" name="Coursess" id="Politics" value="政治" onclick='check1(this)' />政治</label>
					</tr>

				</tbody>
		</table>
	</div>
	<div class="layui-input-block" style="margin-left:678px;">
		<div><input type="submit" class="layui-btn layui-btn-lg" value="提交" /></div>
	</div>
	</form>
</rapid:override>
<%@ include file="base.jsp" %>
